function addMouseWheelEvent(element,func) {
		var mousewheelevt=(/Firefox/i.test(navigator.userAgent))?"DOMMouseScroll": "mousewheel"//FF doesn't recognize mousewheel as of FF3.x
		if(document.attachEvent) //if IE (and Opera depending on user setting)
		element.attachEvent("on"+mousewheelevt, func);
		else if(document.addEventListener) //WC3 browsers
		element.addEventListener(mousewheelevt, func, false);
	 }
$(function(){
	var mousewheelevt=(/Firefox/i.test(navigator.userAgent))?"DOMMouseScroll": "mousewheel";
	$(document).on(mousewheelevt,function(event){
		var wheelDel = mousewheelevt === "mousewheel" ? event.originalEvent.wheelDelta : -1*event.originalEvent.detail;
		console.log(wheelDel);//获得滚轮增量
	});
});